/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package talvan;

import java.util.Date;

/**
 * Klassi við feltur fyri relevant informatión hjá einum Meeting (Fundi)
 * 
 * @author DJH
 */
public class Meeting {
    
    private String name;
    private String description;
    private String stovnari;
    private Date time;
    private int meetingID;
    
    public Meeting()
    {
        
    }
    
    /**
     * Metoda sum setur navni til meeting
     * @param name 
     */
    public void setName(String name)
    {
        this.name = name;
    }
    
    /**
     * Metoda sum heintar navni hjá meeting
     * @return 
     */
    public String getName()
    {
        return name;
    }
    
    /**
     * Metoda sum overridar toString metoduna
     * @return String name
     */
    public String toString()
    {
        return name;
    }
    
    /**
     * Metoda sum setur descriptión fyri meeting
     * @param description fyri meeting
     */
    public void setDescription(String description)
    {
        this.description = description;
    }
    
    /**
     * metoda sum heintar deskriptiónina hjá meeting
     * @return description hjá fundinum
     */
    public String getDescription()
    {
        return description;
    }
    
    /**
     * metoda sum setur ein String fyri hvør hevur stovna fundin
     * @param stovnari 
     */
    public void setStovnari(String stovnari)
    {
        this.stovnari = stovnari;
    }
    
    /**
     * metoda sum heintar string fyri 
     * @return navni hjá stovnarinum
     */
    public String getStovnari()
    {
        return stovnari;
    }

    /**
     * @return the time
     */
    public Date getTime() {
        return time;
    }

    /**
     * @param time the time to set
     */
    public void setTime(Date time) {
        this.time = time;
    }

    /**
     * @return the meetingID
     */
    public int getMeetingID() {
        return meetingID;
    }

    /**
     * @param meetingID the meetingID to set
     */
    public void setMeetingID(int meetingID) {
        this.meetingID = meetingID;
    }
}
